<%@page import="java.net.HttpCookie"%>
<%@page import="java.io.PrintWriter"%>
<%@page import="java.util.Arrays"%>
<%@page import="java.util.Map.Entry"%>
<%@page import="java.util.Iterator"%>
<%@page import="java.util.Map"%>
<%@page import="java.util.Enumeration"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	/* 获取Cookie */
	Cookie[] cookies = request.getCookies() ; 
	System.out.println("--值--" + cookies);
	if(cookies != null)
	{
		for(int i = 0 ; i < cookies.length ; i ++)
		{
			Cookie cookieTemp = cookies[i]; 
			System.out.println(cookieTemp.getName() + "==Cookie==" + cookieTemp.getValue());
		}
	}
%>